package com.xingshentech.ugv.operate.module.constant;

import com.xingshentech.ugv.operate.module.bean2.AppMenu;
import com.xingshentech.ugv.operate.module.bean2.CarListBean;
import com.xingshentech.ugv.operate.module.bean2.UserBean;

import java.util.ArrayList;
import java.util.List;

public class Constants {
//    如果你希望 Constants 类中的变量能够在不同模块之间共享，确保它们是 public static 类型的，这样就能在任何地方访问。
//    Constants 类中的常量通常应该是不可变的，即用 final 关键字修饰，防止意外修改其值。
    public static final String name = "name";
    public static final String password = "password";
    public static final String userData = "userData";
    public static final String accessToken = "accessToken";
    public static final String SP_NAME = "xingshentech_sp";
    public static final String is_admin = "is_admin";
    public static final String address_key = "address_key";
    public static final String private_pocily_key = "private_pocily_key";
    public static final String isQuanJuMap = "isQuanJuMap";//ture 为全局高德，fasle为局部
    public static List<AppMenu> mAppMenu = new ArrayList<>();
    public static UserBean mUser;


    public static boolean is4gconnect = false;//全局判断是否是4g登陆
    public static boolean OperateVehicleStatus = false;//根据后台配置 是否有车辆状态操作权限
    public static boolean WifiConnectPermission = false;//根据后台配置 连接时是否判断编码一致
    public static boolean RemoteControl_4G = false;//远程遥控操作权限

    public static boolean noNeedLogo = false;

    public static CarListBean mCarListBean = null;
}
